Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit f5c431c

Browse files
committed
Formatting and grammar fixes.
1 parent 358446d commit f5c431c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

docs/tutorials/basics.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ perform before trying to work it out on your own.
88

99
### Querying for your Base DN
1010

11+
If you're not sure what your base distinguished name should be, you can use the query
12+
builder to locate it for you if you're making a successful connection to the server:
1113

14+
```php
15+
$base = Adldap::search()->findBaseDn();
16+
17+
echo $base; // Returns 'dc=corp,dc=acme,dc=org'
18+
```
1219

1320
### Querying for Enabled / Disabled Users
1421

docs/tutorials/users.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
99
## Creating Users
1010

11-
To begin, creating a user is actually quite simple, as it only requries a Common Name:
11+
To begin, creating a user is actually quite simple, as it only requires a Common Name:
1212

1313
```php
1414
$user = Adldap::make()->user([
@@ -31,7 +31,8 @@ $user = Adldap::make()->user([
3131
$user->save();
3232
```
3333

34-
If you don't provide a Distinguished Name to the user during creation, one will be set for you automatically by taking your configured `base_dn` and using the users Common Name you give them:
34+
If you don't provide a Distinguished Name to the user during creation, one will be set for you automatically
35+
by taking your configured `base_dn` and using the users Common Name you give them:
3536

3637
```php
3738
$user = Adldap::make()->user([

0 commit comments

Comments
 (0)