[Samba] Re: Question to smbclient and domain users

Andreas Ladanyi knuffiandy at web.de
Sun Aug 17 17:20:45 GMT 2008


Hi,

i read  FOR EXAMPLE if i have a share:

/home/%U

the directory structure:

/home/DOMAION/username

have to be available.

In (debian) samba 3.0.24 /home/%U without DOMAIN was possible, however.

I setup sernet Samba 3.0.31 and i have to add the DOMAINNAME.

If i setup /home/%D/%U then the destination string is:

/home/IPR-OFFICE/IPR-OFFICE/ladanyi

I think the:

winbind use default domain

parameter only affect to wbinfo and PAM for login ??????????

Bye,
Andy


Andreas Ladanyi schrieb:
> Hi,
> 
> smbclient \\\\i60ws1\\public_html  -U ladanyi
> 
> results in:
> 
> [2008/08/17 10:43:10, 0] smbd/service.c:make_connection_snum(1003)
>   '/var/www/public_html/IPR-OFFICE/ladanyi' does not exist or permission 
> denied when connecting to [public_html] Error was Permission denied
> 
> I use the:
> 
> winbind use default domain = yes
> 
>  option.
> 
> This option works for wbinfo -u/-g option.
> 
> Is it possible to get the query from:
> 
> /var/www/public_html/IPR-OFFICE/ladanyi
> 
> "converted" to:
> 
> /var/www/public_html/ladanyi
> 
> 
> smb.conf:
> 
> security=ads
> workgroup = IPR-OFFICE
> 
> 
> winbind separator = /
> winbind enum users = yes
> winbind enum groups = yes
> winbind cache time = 60
> idmap uid = 6000-27000
> idmap gid = 600-7000
> idmap backend = ad
> template shell = /bin/bash
> template homedir = /home/%u
> winbind use default domain = yes
> winbind refresh tickets = yes
> allow trusted domains = yes
> winbind nss info =  rfc2307
> winbind nested groups = yes
> winbind normalize names = yes
> 
> Bye,
> Andy
> 
> 



More information about the samba mailing list