[Samba] smbpasswd option for altername smb.conf

Desmond Quek dquek at jni.com
Wed Apr 3 12:56:02 GMT 2002


Hi folks,

	Is there a command line option for smbpasswd to read samba
configuration file other than the one named smb.conf?

# ./smbpasswd -h    
params.c:OpenConfFile() - Unable to open configuration file
"/usr/local/admin/samba/lib/smb.conf":
        No such file or directory
Can't load /usr/local/admin/samba/lib/smb.conf - run testparm to debug
it

	I do have a samba config file named swgrp.conf in
/usr/local/admin/samba/lib.  How do I get smbpasswd to read it?

	I'm running Samba 2.2.3a on Solaris 7.

	Any help will be appreciated!


Thanks,
Desmond
-- 

JNI Corporation - ASIC Development
45365 Northport Loop West.  Fremont, CA 94538
Tel: (510) 360-4751  Fax: (510) 252-0123




More information about the samba mailing list