LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Changing Samba description SuSE 11.1 (https://www.linuxquestions.org/questions/linux-newbie-8/changing-samba-description-suse-11-1-a-709997/)

ahmed_as8 03-08-2009 07:29 AM

Changing Samba description SuSE 11.1
 
Hi all .. am using SuSE 11.1 & am in a network domain & I wanna change the samba description so any1 have any ideas how to edit this description I wanna put an easier description than the "Samba 2.6 ... etc " Thanks.

john test 03-08-2009 02:53 PM

edit /etc/samba/smb.conf and change "Server String" to the new description.

ahmed_as8 03-09-2009 06:07 PM

Quote:

Originally Posted by john test (Post 3468882)
edit /etc/samba/smb.conf and change "Server String" to the new description.

I went to this file but I didn't find a line called Server String !!

john test 03-09-2009 07:55 PM

Did you find a string that matches the Description you are seeing and want to change?

ahmed_as8 03-10-2009 03:23 AM

Quote:

Originally Posted by john test (Post 3470261)
Did you find a string that matches the Description you are seeing and want to change?

Nope .. This is the Computer name "PC1 (Samba 3.2.6-0.3.1-2042-SUSE-CODE11)"



# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2009-01-08
[global]
workgroup = SERVER.SERVER
printcap name = cups
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
domain master = No
security = domain

## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700

## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [printers]
# comment = All Printers
# path = /var/tmp
# printable = Yes
# create mask = 0600
# browseable = No

## Share disabled by YaST
# [print$]
# comment = Printer Drivers
# path = /var/lib/samba/drivers
# write list = @ntadmin root
# force group = ntadmin
# create mask = 0664
# directory mask = 0775

## Share disabled by YaST
# [netlogon]


[Share]
path = /media/windowsD/Share/
guest ok = yes
read only = no

john test 03-10-2009 10:24 AM

In Globals I have the following entry:
=
Code:

# server string is the equivalent of the NT Description field
  server string = %h server (Samba, Ubuntu)

Which identifies my Samba Server
I see from your post that you don't have this entry in your smb.conf file and maybe, lacking that entry, you are getting a default display.

ahmed_as8 03-10-2009 02:20 PM

Quote:

Originally Posted by john test (Post 3470797)
In Globals I have the following entry:
=
Code:

# server string is the equivalent of the NT Description field
  server string = %h server (Samba, Ubuntu)

Which identifies my Samba Server
I see from your post that you don't have this entry in your smb.conf file and maybe, lacking that entry, you are getting a default display.

OK you have any solutions?

john test 03-11-2009 11:32 AM

Did you edit smb.conf to include the item from the earlier post above?

ahmed_as8 03-12-2009 02:46 AM

Quote:

Originally Posted by john test (Post 3472010)
Did you edit smb.conf to include the item from the earlier post above?

Yeah man I thought in that too & did it .. It works I added the line server string to smb.conf & its modified :-) thanks.

john test 03-12-2009 01:58 PM

Quote:
Originally Posted by john test
Did you edit smb.conf to include the item from the earlier post above?

Yeah man I thought in that too & did it .. It works I added the line server string to
-------------------------------------

You're very welcomeQ :=)


All times are GMT -5. The time now is 08:28 PM.