[Samba] Samba4 Member Server not working

Carlos Alberto Borges Garcia dedraks at gmail.com
Thu Aug 29 11:59:24 MDT 2013


Still not working:

I created a test user:


dn: CN=test,CN=Users,DC=mynet,DC=net
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: test
givenName: test
instanceType: 4
whenCreated: 20130827212151.0Z
displayName: test
uSNCreated: 45308
name: teste
objectGUID: fee0d4a4-fd48-48ac-abb3-ce6fb180b10d
badPwdCount: 0
codePage: 0
countryCode: 0
badPasswordTime: 0
lastLogoff: 0
lastLogon: 0
primaryGroupID: 513
objectSid: S-1-5-21-3124563532-696977291-52706181-1501131
accountExpires: 9223372036854775807
logonCount: 0
sAMAccountName: test
sAMAccountType: 805306368
userPrincipalName: test at mynet.net
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=mynet,DC=net
pwdLastSet: 130221121120000000
url: uidNumber
userAccountControl: 512
msDS-SupportedEncryptionTypes: 0
gidNumber: 12345
uidNumber: 1234567
whenChanged: 20130829175016.0Z
uSNChanged: 47069
distinguishedName: CN=test,CN=Users,DC=mynet,DC=net


But if I run:
id test
id MYNET\test
id MYNET\\test
id test at mynet.net

I get "No such ser"


2013/8/29 steve <steve at steve-ss.com>

> On Thu, 2013-08-29 at 14:21 -0300, Carlos Alberto Borges Garcia wrote:
> > Hi,
> >
> >
> > Where can I enter this values in AD?
> >
>
> Hi
> If you have a recent version of Samba4, you can add them when you create
> new users:
>
> samba-tool user add --help
> will give the options.
>
> If you already have the users, just edit their entries e.g.:
>
> ldbedit --url=/usr/local/samba/private/sam.ldb cn=carlos
> Add a minimum of:
> uidNumber: 1234567
> gidNumber: 12345
>
> Your winbind will then pull this information from AD when needed.
>
> You can get sensible values for uidNumber from idmap e.g.:
> wbinfo -i carlos
>
> HTH
> Steve
>
>
>
>


-- 
http://www.endomondo.com/profile/3312580

Veja: " http://naofoiacidente.org/blog/por-quem/ "


More information about the samba mailing list