[Samba] Re: Question to smbclient and domain users
Ryan Novosielski
novosirj at umdnj.edu
Mon Aug 18 16:33:22 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Which I find unfortunate as you end up using the username that Windows
provides, not the username the person actually gets (if I'm not mistaken).
Andreas Ladanyi wrote:
| The answer is to use %U instead %u (from the old smb.conf) then
| everything work :-)
|
| 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
|>
|>
|
- --
~ ---- _ _ _ _ ___ _ _ _
~ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II
~ |$&| |__| | | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
~ \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIqaRSmb+gadEcsb4RAqmnAKCE5fyJWNlZdNYOHGdDLbQFYgJz2gCgoScX
ZNN5bzQyVTfbee/F19ZXX98=
=3H9a
-----END PGP SIGNATURE-----
More information about the samba
mailing list