To add samba attributes to groups, i do this: for i in `ldapsearch -x -b ou=groups,dc=iarly,dc=com | grep 'dn: cn'| cut -d '=' -f2| cut-d',' -f1`; do echo $i; done
:) Has a problem? Reggards, ---------------------------------- iarly Selbir ( Ski0s ) On Thu, Nov 20, 2008 at 10:39 PM, Iarly Selbir <[EMAIL PROTECTED]> wrote: > Thanks for you reply, you save me :D... > > > But now, other problem, import the groups attributes from smbpasswd > > anybody can help me... > > i try > > pdbedit --import smbpasswd:/etc/samba/ -g > > > But this don't change nothing.. > > > thanks again. > > > Reggards, > > ---------------------------------- > iarly Selbir ( Ski0s ) > > > > > On Thu, Nov 20, 2008 at 9:38 PM, Adam Williams <[EMAIL PROTECTED]>wrote: > >> you're syntax isn't correct. try pdbedit --import >> smbpasswd:/etc/samb/smbpasswd >> >> you don't need the -e paramater, pdbedit will read your ldap settings from >> smb.conf. >> >> >> Iarly Selbir wrote: >> >>> Anybody know a tool to migrate smbpasswd to Ldap Backend, i trying using >>> the >>> pdbedit -i smbpasswd:/passwd -e ldapsam:ldap://127.0.0.1, but this don't >>> works. >>> >>> Thanks in advance. >>> >>> Reggards, >>> >>> ---------------------------------- >>> iarly Selbir ( Ski0s ) >>> >>> >> > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
