LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2009, 08:29 AM   #1
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Rep: Reputation: 16
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.
 
Old 03-08-2009, 03:53 PM   #2
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
edit /etc/samba/smb.conf and change "Server String" to the new description.
 
Old 03-09-2009, 07:07 PM   #3
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by john test View Post
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 !!
 
Old 03-09-2009, 08:55 PM   #4
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Did you find a string that matches the Description you are seeing and want to change?
 
Old 03-10-2009, 04:23 AM   #5
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by john test View Post
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

Last edited by ahmed_as8; 03-10-2009 at 04:32 AM.
 
Old 03-10-2009, 11:24 AM   #6
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
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.

Last edited by john test; 03-10-2009 at 11:25 AM.
 
Old 03-10-2009, 03:20 PM   #7
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by john test View Post
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?
 
Old 03-11-2009, 12:32 PM   #8
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Did you edit smb.conf to include the item from the earlier post above?
 
Old 03-12-2009, 03:46 AM   #9
ahmed_as8
Member
 
Registered: Nov 2008
Location: Egypt
Distribution: Ubuntu, SuSE
Posts: 101

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by john test View Post
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.
 
Old 03-12-2009, 02:58 PM   #10
john test
Member
 
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
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 :=)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Computer Name in Samba / Linux BeaverusIV Fedora 3 08-07-2005 07:43 AM
Samba 3 - changing passwords from windows michzap Linux - Networking 2 09-03-2004 02:48 AM
Changing Filename on Samba Share from XP InEeDhElPlInUx Linux - Software 17 04-20-2004 09:29 AM
Changing Samba Passwords With Webmin djcomplex Linux - Software 0 03-08-2004 05:38 AM
Samba aftter changing hostname Scotty2435 Linux - Networking 8 01-25-2002 08:24 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration