Hi, I'm having a minor issue with swat on red hat 7.2. It won't let me make any changes to the samba server (adding shares, printers, and global definitions). The buttons to access these simply don't exist. I can view status, but I can't make any changes (not even restart the daemons). This works fine on my Debian system. The only real difference that I can think of is inetd vs xinetd. Here is my xinetd config for swat: service swat { socket_type = stream wait = no user = root server = /usr/local/samba/bin/swat log_on_failure += USERID disable = no } What else could be wrong? -- James Bagley | CDI Innovantage james_bagley@non.agilent.com | Technical Computing UNIX Admin Support DON'T PANIC | Agilent Technologies IT --
James Bagley Jr wrote: I haven't and won't try your "swat" version so I don't know the failure symptoms, but my version works: # default: off # description: SWAT is the Samba Web Admin Tool. Use swat \ # to configure your Samba server. To use SWAT, \ # connect to port 901 with your favorite web browser. service swat { port = 901 socket_type = stream wait = no # only_from = 127.0.0.1 user = root server = /usr/local/samba/bin/swat log_on_failure += USERID disable = no } Good Luck, Ray -- Ray Lillard Product Systems, Inc. Member Technical Staff 1745 Dell Ave, 408-871-2500 x109 Campbell, CA 95008> -----Original Message----- > From: samba-admin@lists.samba.org > Behalf Of James Bagley Jr > Sent: Tuesday, March 12, 2002 5:57 PM > To: samba@lists.samba.org > Subject: [Samba] swat on red hat 7.2 > > > Hi, > > I'm having a minor issue with swat on red hat 7.2. It won't let me make > any changes to the samba server (adding shares, printers, and global > definitions). The buttons to access these simply don't exist. I can view > status, but I can't make any changes (not even restart the daemons). > > This works fine on my Debian system. The only real difference that I can > think of is inetd vs xinetd. Here is my xinetd config for swat: > > service swat > { > socket_type = stream > wait = no > user = root > server = /usr/local/samba/bin/swat > log_on_failure += USERID > disable = no > } > > What else could be wrong?
Do you have write permission to the smb.conf file? Are you logging in as root? If not, check the ownwership on the smb.conf file. I found that samba administrators have to have their primary group be the same as the group ownership on smb.conf. On Tue, 12 Mar 2002, James Bagley Jr wrote: - Hi, - - I'm having a minor issue with swat on red hat 7.2. It won't let me make - any changes to the samba server (adding shares, printers, and global - definitions). The buttons to access these simply don't exist. I can view - status, but I can't make any changes (not even restart the daemons). - - This works fine on my Debian system. The only real difference that I can - think of is inetd vs xinetd. Here is my xinetd config for swat: - - service swat - { - socket_type = stream - wait = no - user = root - server = /usr/local/samba/bin/swat - log_on_failure += USERID - disable = no - } - - What else could be wrong? - - -- - James Bagley | CDI Innovantage - james_bagley@non.agilent.com | Technical Computing UNIX Admin Support - DON'T PANIC | Agilent Technologies IT - -- - - - -- -- Stephen Carville UNIX and Network Administrator DPSI (formerly Ace USA Flood Services) 310-342-3602 stephen@totalflood.com