Hi all, I recently tried to use --kerberos switch in addition to some samba-tool command (mainly samba-tool user create) without any success. The man page of samba-tool is quiet shy on that subject: -k KERBEROS|--kerberos=KERBEROS Use Kerberos Looking into samba-tool python script, in fact into /usr/lib64/python2.7/site-packages/samba/netcmd/user.py, I can't find any reference to kerberos. Perhaps the piece of --help telling we can use that switch comes from other script (samba-tool itself?) and not related to samba-tool user command, in that case inclusion of that piece of help should be reviewed. Anyone knows how to use --kerberos successfully with samba-tool? Best regards, mathias
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You have to use "-k yes" for example: samba-tool user list -k yes Bevor you can use it, you must get a Ticket with "kinit administrator" Stefan Am 19.10.15 um 10:49 schrieb mathias dufresne:> Hi all, > > I recently tried to use --kerberos switch in addition to some > samba-tool command (mainly samba-tool user create) without any > success. The man page of samba-tool is quiet shy on that subject: > -k KERBEROS|--kerberos=KERBEROS Use Kerberos > > Looking into samba-tool python script, in fact into > /usr/lib64/python2.7/site-packages/samba/netcmd/user.py, I can't > find any reference to kerberos. Perhaps the piece of --help telling > we can use that switch comes from other script (samba-tool itself?) > and not related to samba-tool user command, in that case inclusion > of that piece of help should be reviewed. > > Anyone knows how to use --kerberos successfully with samba-tool? > > Best regards, > > mathias >- -- Stefan Kania Landweg 13 25693 St. Michaelisdonn Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre E-Mail. Weiter Informationen unter http://www.gnupg.org Mein Schlüssel liegt auf hkp://subkeys.pgp.net -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) iEYEARECAAYFAlYkvxQACgkQ2JOGcNAHDTawtQCgzslJr3goAzEXXc6NF6LXof+s g3EAnR7C3PTFutccHWCoB5aR2UUcIDy2 =JPoF -----END PGP SIGNATURE-----
Hi Stefan, Thank you a lot for that, it helped me much. To be a bit more precise, thanks again to your example, to authenticate samba-tool command using --kerberos: syntax is "-k yes" or "--kerberos=yes" or "--kerberos yes" AND -U username must not be present. "-k=yes" is not working. 2015-10-19 11:59 GMT+02:00 Stefan Kania <stefan at kania-online.de>:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You have to use "-k yes" for example: > > samba-tool user list -k yes > > Bevor you can use it, you must get a Ticket with "kinit administrator" > > Stefan > > Am 19.10.15 um 10:49 schrieb mathias dufresne: > > Hi all, > > > > I recently tried to use --kerberos switch in addition to some > > samba-tool command (mainly samba-tool user create) without any > > success. The man page of samba-tool is quiet shy on that subject: > > -k KERBEROS|--kerberos=KERBEROS Use Kerberos > > > > Looking into samba-tool python script, in fact into > > /usr/lib64/python2.7/site-packages/samba/netcmd/user.py, I can't > > find any reference to kerberos. Perhaps the piece of --help telling > > we can use that switch comes from other script (samba-tool itself?) > > and not related to samba-tool user command, in that case inclusion > > of that piece of help should be reviewed. > > > > Anyone knows how to use --kerberos successfully with samba-tool? > > > > Best regards, > > > > mathias > > > > > - -- > Stefan Kania > Landweg 13 > 25693 St. Michaelisdonn > > > Signieren jeder E-Mail hilft Spam zu reduzieren. Signieren Sie ihre > E-Mail. Weiter Informationen unter http://www.gnupg.org > > Mein Schlüssel liegt auf > > hkp://subkeys.pgp.net > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG/MacGPG2 v2.0.16 (Darwin) > > iEYEARECAAYFAlYkvxQACgkQ2JOGcNAHDTawtQCgzslJr3goAzEXXc6NF6LXof+s > g3EAnR7C3PTFutccHWCoB5aR2UUcIDy2 > =JPoF > -----END PGP SIGNATURE----- > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >