Operating System - Linux
1833059 Members
2486 Online
110049 Solutions
New Discussion

Re: winbind -> wbinfo, getent work but id, chown, ... do not

 
Borut Kurnik
Frequent Advisor

winbind -> wbinfo, getent work but id, chown, ... do not

Hi!

I've got suse SLES 9 & problems with winbind, i only need for unix auth. in Win domain.
The same thing works fine on RedHat box.

smb.conf ->
---------------------------------------------
...
workgroup =
security = DOMAIN
preferred master = No
domain master = No
wins server =
wins support = no
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind separator = +
...
---------------------------------------------

nsswitch ->
--------------------------------------------
...
passwd: files winbind
shadow: files
group: files winbind
...
--------------------------------------------

net rpc join -w -S -U %
... successfull

getent [passwd|group] works...

wbinfo [-g|-u] work allright, but cannot use [u|g]ids (id, chown, ....).

Any hints???

Regards,

Borut
3 REPLIES 3
LanRx
New Member

Re: winbind -> wbinfo, getent work but id, chown, ... do not

Maybe I should first ask, what is your main reason for doing this? If you're talking about Unix authentication against Active Directory, there is a better way to go about it.
Steven E. Protter
Exalted Contributor

Re: winbind -> wbinfo, getent work but id, chown, ... do not

you say:
" i only need for unix auth"

change

security = DOMAIN

to

security = user

save the smb.conf file.

/sbin/init.d/samba stop
/sbin/init.d/samba start

smbpasswd -a username password

for each user.

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Borut Kurnik
Frequent Advisor

Re: winbind -> wbinfo, getent work but id, chown, ... do not

Hi!

Sorry, I only had NIS client problems on my
Suse Samba server.

I just wanted to achieve that users, who had both Win (smb/cifs access ) & AIX computers (nfs access) could reach file sistem on Linux Samba server using the same username and
also the same uids and gids.

Mapping works now.

Tbanks,

Borut